{% extends "./common/base.html" %}
{% block title %}
	评价
{% endblock %}
{% block css %}
	<link rel="stylesheet" type="text/css" href="/css/h5/rate_list.css">
{% endblock %}
{% block content %}
	<div class="container">
		<div class="title">
			整体满意度：
			<span>5.0</span>
		</div>
		<div class="list">
			{% for rate in list %}
				<div class="rate">
					<div class="rate-top">
						<p class="user-name">{{rate.userName}}：{{rate.content or "非常好！"}}</p>
						<div class="stars">
							<img src="/img/star_icon.png">
							<img src="/img/star_icon.png">
							<img src="/img/star_icon.png">
							<img src="/img/star_icon.png">
							<img src="/img/star_icon.png">
						</div>
					</div>
					<div class="rate-bottom">
						<p>采购数量1.1万</p>
						<p>{{rate.createdTime | formatDateTime("YYYY-MM-DD h:m")}}</p>
					</div>
				</div>
			{% endfor %}
		</div>
		<div class="btn-group">
			<div class="btn btn-left">返回</div>
			<a href="/h5/product/{{productId}}" class="btn btn-right">商品详情</a>
		</div>
	</div>
{% endblock %}